-
-
Notifications
You must be signed in to change notification settings - Fork 46.6k
fix graphs/greedy_best_first #8771
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix graphs/greedy_best_first #8771
Conversation
feeaf3e
to
cfea3be
Compare
3fe0feb
to
ad7da6d
Compare
for more information, see https://pre-commit.ci
* Rename is_palindrome.py to is_int_palindrome.py * updating DIRECTORY.md --------- Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
There doesn't seem to have been any tests for the individual class methods. We definitely wanna avoid letting such code mistakes go unnoticed/untested, so could you add some tests to the file? Preferably testing various example inputs for each method in order to avoid having a bug pass through due to some oversight in the examples. |
* Add more ruff rules * Add more ruff rules * pre-commit: Update ruff v0.0.269 -> v0.0.270 * Apply suggestions from code review * Fix doctest * Fix doctest (ignore whitespace) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: Dhruv Manilawala <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- node in self.open_nodes is always better node TheAlgorithms#8770
for more information, see https://pre-commit.ci
i added some tests and found other problems. |
😱 i.....i made a mistake. i pushed it wrong |
Describe your change:
#8770
Checklist:
Fixes: #{$ISSUE_NO}
.